file(GLOB ASCEND_PROFILER_SRC_LIST RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.cc")
set_property(SOURCE ${ASCEND_PROFILER_SRC_LIST} PROPERTY COMPILE_DEFINITIONS
    SUBMODULE_ID=mindspore::SubModuleId::SM_PROFILER)
add_library(_mindspore_ascend_profiler_obj OBJECT ${ASCEND_PROFILER_SRC_LIST})
